//
//  ShopingToolBar.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/7/28.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AddGoodsModel.h"

typedef enum {
//    ShopingToolBarTypeService = 0,
//    ShopingToolBarTypeFocuse = 0,
    ShopingToolBarTypeBuyCar = 0,
    ShopingToolBarTypeAdd,
    
    
    ShopingToolBarTypeShop,
    ShopingToolBarTypeExchange
}ShopingToolBarType;

@protocol ShopingToolBarDelegate <NSObject>
@optional

- (void)shopingToolBarClick:(ShopingToolBarType)type btn:(UIButton *)btn;

@end

@interface ShopingToolBar : UIView

@property (nonatomic,weak) id <ShopingToolBarDelegate> delegate;
+ (instancetype)shopToolBarWithTitles:(NSArray *)titles;
@property (nonatomic,strong) AddGoodsModel *gooodsModel;

@end
